class Precondicao < ActiveRecord::Base
  
  belongs_to :tipo_precondicao
  
  has_and_belongs_to_many :incentivos, :readonly => true
  
  default_scope :order => :descricao
  
  validates_presence_of :descricao, :ativo, :tipo_precondicao
  
end
